#
# Be sure to run `pod lib lint JMCocoaCategories.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = "JMCocoaCategories"
  s.version          = "1.0.15"
  s.summary          = "A short description of JMCocoaCategories."

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!  
  s.description      = <<-DESC
                        Private Podspec.

                        * Markdown format.
                        * Don't worry about the indent, we strip it!
                       DESC

  s.homepage         = "https://git.oschina.net/JMHD/JMCocoaCategories"
  # s.screenshots     = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
  s.license          = 'MIT'
  s.author           = { "JM" => "317572877@qq.com" }
  s.source           = { :git => "https://git.oschina.net/JMHD/JMCocoaCategories.git", :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.platform     = :ios, '8.0'
  s.requires_arc = true

  s.source_files = 'Pod/Classes/*'
  #s.source_files = 'Pod/Classes/**/*'
#s.resource_bundles = {
#    'JMCocoaCategories' => ['Pod/Assets/*.png']
#  }

# 子模块JMKit
s.subspec 'JMKit' do |jm_kit|
jm_kit.ios.deployment_target = '7.0'
#  jm_kit.ios.public_header_files = 'Pod/Classes/JMKit/**/*.h'
jm_kit.ios.source_files = 'Pod/Classes/JMKit/**/*'
end

# 子模块UIKitExtension
s.subspec 'UIKitExtension' do |jm_uikit_extension|
jm_uikit_extension.ios.deployment_target = '7.0'
#  jm_uikit_extension.ios.public_header_files = 'Pod/Classes/UIKitExtension/**/*.h'
jm_uikit_extension.ios.source_files = 'Pod/Classes/UIKitExtension/**/*'
end

# 子模块SMSCenter
s.subspec 'SMSCenter' do |jm_SMSCenter|
jm_SMSCenter.ios.deployment_target = '7.0'
#  jm_SMSCenter.ios.public_header_files = 'Pod/Classes/SMSCenter/**/*.h'
jm_SMSCenter.ios.source_files = 'Pod/Classes/SMSCenter/**/*'
end

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
